* {
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: xfl01;
	src: url(../font/xul01/FZZDHJW_0.svg), url(../font/xul01/FZZDHJW_0.eot), url(../font/xul01/FZZDHJW_0.ttf), url(../font/xul01/FZZDHJW_0.woff);
}

@font-face {
	font-family: xfl02;
	src: url(../font/xul02/LouisBold.svg),url(../font/xul02/LouisBold.eot),url(../font/xul02/LouisBold.ttf),url(../font/xul02/LouisBold.woff);
}

@font-face {
	font-family: xfl03;
	src: url(../font/xul03/FZZZHUNHJW_0.svg), url(../font/xul03/FZZZHUNHJW_0.eot), url(../font/xul03/FZZZHUNHJW_0.ttf), url(../font/xul03/FZZZHUNHJW_0.woff) ;
}

ul li {
	list-style: none;
}

html,
body {
	overflow: hidden;
	width: 100%;
	height: 100%
}

.logo {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 14;
}

.long {
	width: 1.2rem;
}

.mask {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 888;
	display: none;
}

#scoreText {
	text-align: center;
	position: absolute;
	top: 0.5rem;
	width: 100%;
	color: #FF0000;
}

.gameOverMask {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	background: rgba(0, 0, 0, 0.5);
	z-index: 888;
}

.gameOverBox {
	border-radius: 50%;
	background: #fff;
	width: 6rem;
	height: 6rem;
	position: absolute;
	top: 50%;
	margin-top: -3rem;
	left: 50%;
	margin-left: -3rem;
	text-align: center;
}

.title {
	line-height: 2rem;
	height: 2rem;
	font-size: 0.48rem;
}

#nowScore {
	color: #FF0000;
	height: 2rem;
	line-height: 2rem;
	font-size: 0.48rem;
}

.back {
	height: 1.8rem;
	line-height: 1.8rem;
	width: 1.8rem;
	border-radius: 50%;
	margin: 0 auto;
	background: #A5A5A5;
	font-size: 0.48rem;
	color: #fff;
}

.maskbox {
	width: 50%;
	height: 2.4rem;
	background: #fff;
	position: absolute;
	left: 25%;
	top: 50%;
	margin-top: -1rem;
	border-radius: 0.1rem;
	overflow: hidden;
}

.maskbox p {
	line-height: 1.4rem;
	color: #000000;
	text-align: center;
	font-size: 0.42rem;
}

.btnbox button {
	float: left;
	width: 50%;
	height: 1rem;
	font-size: 0.42rem;
	border: none;
}

#confirm {
	background: #FF0000;
}

.hit {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	z-index: 666
}

.main {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	display: none
}

.game {
	position: absolute;
	width: 100%;
	height: 30%;
	bottom: 0;
	z-index: 11;
	display: none
}

.game .bridge {
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0
}

.game .bridge li {
	width: 2.5rem;
	height: 100%;
	background: url(../images/qiaodun.png);
	background-size: 100% 100%;
	position: absolute
}

.point {
	width: 0.14rem;
	height: 0.14rem;
	position: absolute;
	left: 50%;
	margin-left: -0.07rem;
	top: 0;
	background: #FF0000;
}

.game .role {
	position: absolute;
	top: -0.4rem;
	width: 1.22rem;
}

.game .role .car {
	height: 0.4rem;
}

.game .role .light {
	position: absolute;
	right: -114%;
	height: 0.4rem;
	top: 00rem;
}

.game .line {
	height: 3px;
	width: 3px;
	position: absolute;
	top: -3px;
	right: 0
}

.game .line span {
	position: absolute;
	width: 3px;
	height: 0px;
	background-color: #f75a32;
	bottom: -3px;
	right: 0;
	-webkit-transform-origin: 100% 100%;
	transform-origin: 100% 100%
}

.gameBg {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
	left: 0px;
	top: 0px;
	display: none
}

.gameBg .bg1 {
	position: absolute;
	width: 100%;
	height: 100%;
	display: none
}

#canvas {
	position: absolute;
	width: 100%;
	height: 70%;
	display: block;
	z-index: 100;
	top: 0px;
	left: 0px;
}

.gameBg .bg1 .fadeInUp img {
	width: 100%
}

.gameBg .bg2 .fadeInUp img {
	width: 100%
}

.gameBg .bg3 .fadeInUp img {
	width: 100%
}

.gameBg .bg2 {
	position: absolute;
	width: 100%;
	height: 100%;
	display: none
}

.gameBg .bg3 {
	position: absolute;
	width: 100%;
	height: 100%;
	display: none
}

.bg3 .star{
	width:100%;
	display: block;
}
.sstar {
	width: 0.12rem;
	height: 0.12rem;
}

.f-star {
	width: 2.63rem;
	position: absolute;
	left: 100%;
	top: 2rem;
	-webkit-animation-name: fastStar;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	z-index: 668;
}
.sstar,
.nstar,
.bstar {
	position: absolute;
	z-index: 668;
	-webkit-animation-name: scaleAm3;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
}

.nstar {
	width: 0.13rem;
	height: 0.13rem;
}

.bstar {
	width: 0.15rem;
	height: 0.15rem;
}

.sstar:nth-child(2) {
	left: 0.70rem;
	top: 5.18rem;
}

.sstar:nth-child(3) {
	left: 1.84rem;
	top: 7.3rem;
}

.sstar:nth-child(4) {
	left: 1.22rem;
	top: 3.06rem;
}

.sstar:nth-child(5) {
	left: 3.6rem;
	top: 5.13rem;
}

.nstar:nth-child(6) {
	left: 3.5rem;
	top: 6.6rem;
}

.nstar:nth-child(7) {
	left: 4.7rem;
	top: 4.5rem;
}

.nstar:nth-child(8) {
	left: 5.3rem;
	top: 5.1rem;
}

.nstar:nth-child(9) {
	left: 5.6rem;
	top: 2.6rem;
}

.bstar:nth-child(10) {
	left: 6.44rem;
	top: 3.33rem;
}

.bstar:nth-child(11) {
	left: 7.5rem;
	top: 5.7rem;
}

.bstar:nth-child(12) {
	left: 6.4rem;
	top: 7.8rem;
}
.bstar:nth-child(13) {
	left: 7.16rem;
	top: 7.34rem;
}

.bgPic img {
	width: 100%;
	height: 100%;
}

.gameBg .bg1 .sun {
	position: absolute;
	bottom: -01rem;
	left: 0;
	width: 100%;
	z-index: 1;
}

.gameBg .bg2 .sun {
	position: absolute;
	bottom: -0.1rem;
	left: 0;
	width: 100%;
	z-index: 1;
}

.gameBg .bg3 .sun {
	position: absolute;
	bottom: -0.1rem;
	left: 0;
	width: 100%;
	z-index: 1;
}

.gameBg .bg3 .moon {
	width: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 1;
	animation-name: moonleft;
	ani
}

.qq {
	width: 3.7rem;
	position: absolute;
	left: 0.45rem;
	top: 2rem;
	transition: all .5s;
	animation: qqac 3s linear 0s infinite alternate;
	-moz-animation: qqac 3s linear 0s infinite alternate;
	z-index: 1;
}

.gameBg .bg2 .txt {
	position: absolute;
	left: 311px;
	top: 195px;
	z-index: 1
}

.thrbox,
.onebox {
	width: 2rem;
	line-height: 0.42rem;
	position: absolute;
	left: 0;
	bottom: 4.5rem;
	text-align: center;
	z-index: 666;
	animation: scoreFadeInUp 1.5s;
	display: none;
}

.thr,
.one {
	font-size: 0.42rem;
	color: #FF0000;
	font-weight: 500;
}


/*.roleRunAm {
	-webkit-animation-name: roleRunAm;
	-webkit-animation-duration: 0.4s;
	-webkit-animation-timing-function: steps(4);
	-webkit-animation-iteration-count: infinite;
	animation-name: roleRunAm;
	animation-duration: 0.4s;
	animation-timing-function: steps(4);
	animation-iteration-count: infinite
}
@-webkit-keyframes roleRunAm {
	0% {
		background-position: 0 0
	}
	100% {
		background-position: -188px 0
	}
}*/

@-webkit-keyframes cloud1Am {
	0% {
		-webkit-transform: translate(-298px, 0)
	}
	100% {
		-webkit-transform: translate(640px, 0)
	}
}

@-webkit-keyframes cloud2Am {
	0% {
		-webkit-transform: translate(640px, 0)
	}
	100% {
		-webkit-transform: translate(-200px, 0)
	}
}

.flashAm {
	-webkit-animation-name: flashAm;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite
}

@-webkit-keyframes flashAm {
	0% {
		opacity: 1
	}
	40% {
		opacity: 0.1
	}
	80% {
		opacity: 1
	}
	100% {
		opacity: 1
	}
}

.scaleAm {
	-webkit-animation-name: scaleAm;
	-webkit-animation-duration: 2s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite
}

@-webkit-keyframes scaleAm {
	0% {
		-webkit-transform: scale(1)
	}
	50% {
		-webkit-transform: scale(1.05)
	}
	100% {
		-webkit-transform: scale(1)
	}
}

.scaleAm2 {
	-webkit-animation-name: scaleAm2;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite
}

@-webkit-keyframes scaleAm2 {
	0% {
		-webkit-transform: scale(1)
	}
	50% {
		-webkit-transform: scale(0.95)
	}
	100% {
		-webkit-transform: scale(1)
	}
}

@-webkit-keyframes scaleAm3 {
	0% {
		-webkit-transform: scale(1,1)
	}
	50% {
		-webkit-transform: scale(1.5,1.5)
	}
	100% {
		-webkit-transform: scale(1,1)
	}
}

@keyframes qqac {
	0% {
		top: 2rem;
	}
	100% {
		top: 3rem;
	}
}

@keyframes moonleft {
	0% {
		left: -40%;
	}
	100% {
		left: 0;
	}
}

@keyframes scoreFadeInUp {
	0% {
		bottom: 4.5rem;
	}
	100% {
		bottom: 6rem;
	}
}
@keyframes fastStar{
	0{
		left: 100%;
		top: 2rem;
	}
	100%{
		left: -2.63rem;
		top: 6.51rem;
	}
}